package com.hx.haowumall.haowumallproduct.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hx.common.utils.PageUtils;
import com.hx.haowumall.haowumallproduct.entity.SpuInfoDescEntity;
import com.hx.haowumall.haowumallproduct.entity.SpuInfoEntity;
import com.hx.haowumall.haowumallproduct.vo.SpuBrandNameVo;
import com.hx.haowumall.haowumallproduct.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author jzh
 * @email jzh@gmail.com
 * @date 2023-11-03 11:18:54
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);

    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /*
    * 商品上架
    * */
    void up(Long spuId);

    SpuBrandNameVo getSpuInfoBySkuId(Long skuId);
}

